package com.jxb.proxy.aspect;

import com.jxb.proxy.ProxyConfig;
import com.jxb.proxy.aspect.busi.Employee;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AspectTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AspectConfig.class);
//        context.register(AspectConfig.class);
//        context.refresh();
        Employee employee = (Employee) context.getBean("employee");
        employee.test();
    }

}
